/*
 * cm_tree.h
 *
 *  Created on: 2014年9月29日
 *      Author: chens
 */

#ifndef CM_TREE_H_
#define CM_TREE_H_

//struct tree_node {
//	struct tree_node * parent;
//	struct tree_node * brother;
//	struct tree_node * children;
//};
//
//struct tree_root {
//	struct tree_node *node;
//};
//
//#define TREE_ROOT (struct tree_root) {NULL, }
//
//#define tree_entry(ptr, type, member) container_of(ptr, type, member)
//
//#define TREE_EMPTY_ROOT(root)	((root)->node == NULL)
//#define TREE_EMPTY_NODE(node)	(rb_parent(node) == node)

#endif /* CM_TREE_H_ */
